package org.codeart.order.remote;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "sse-service")
public interface ServiceSseClient {

    @GetMapping("/push")
    String push(@RequestParam("userId") Long userId, @RequestParam("identity") String identity,
                @RequestParam("content") String content);

}
